
import { _decorator, Component, Node, CCInteger, CCFloat, CCBoolean, Label } from 'cc';
const { ccclass, property ,executeInEditMode} = _decorator;
/**
 * DateTime = Sun Feb 27 2022 11:30:07 GMT+0800 (中国标准时间)
 * Author = carlosyzy
 */
@ccclass('Test1')
@executeInEditMode(true)
export class Test1 extends Component {
    @property({type:Label})
    _l:Label=null;
    @property({type:Label,visible:false})
    ll:Label=null;

    @property
    _num:number=1;
    @property({type:CCInteger,tooltip:"提示内容"})
    set num(val){
        this._num=val;
    }
    get num(){
        return this._num;
    }
    onLoad(){
        console.log("onLoad");
    }
    start () {
        console.log("start");
    }
    update (deltaTime: number) {
        // [4]
    }
}
